Accusoft.ImagXpress12.Net
Draw on the Image
See Also Send Feedback
ImagXpress 12 for .NET - User Guide > How To > Access and Modify a Loaded Image > Draw on the Image

Glossary Item Box

To utilize the System.Drawing.Graphics capabilities to draw on an image: 

  1. Call ImageX. GetGraphics method to get a System.Drawing.Graphics object and associate it with the ImageX image. 
  2. The returned graphics object can be drawn upon using the standard System.Drawing.Graphics drawing methods.
  3. When drawing is complete and the graphics object is no longer needed, do one of the following:
  • Call ImageX. ReleaseGraphics method, to update the ImageX object with the image in the Graphics object, then release the memory associated with the graphics object.
  • Call ImageX.ReleaseGraphics(True) to update the ImageX object with the image in the graphics object, then release the memory associated with the graphics object.
  • Call ImageX.ReleaseGraphics(False), to release the memory associated with the graphics object without updating the ImageX object.  

Undo does not undo Drawing actions. Undo only applies to processing actions.

See Also

©2013. Accusoft Corporation. All Rights Reserved.